<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>login</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<body style="background:#e34680;" onload="userfocus()">
<script type="text/javascript">
function userfocus(){
	document.login.username.focus();
}
function CheckForm()
{
	if(document.login.username.value == "")
	{
		alert("Please enter your username！");
		document.login.username.focus();
		return false;
	}
	if(document.login.password.value == "")
	{
		alert("Please enter your Password！");
		document.login.password.focus();
		return false;
	}
	if (document.login.validate.value == "")
	{
        alert ("Please enter your verification code！");
        document.login.validate.focus();
        return(false);
    }
}
</script>

<div>
  <div class="dltop"> </div>
  <div class="dlcenter">
    <div class="dl">
    <form name="login" action="login_check.php" method="post" onSubmit="return CheckForm();">
      <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="66">Username:</td>
          <td width="108"><input class="dlinput" name="username" type="text" style="width:100px;" /></td>
          <td width="62">Password:</td>
          <td width="123"><input class="dlinput" name="password" type="password" style="width:100px;"/></td>
          <td width="103">Verification code:</td>
          <td width="138"><input type="text"  name="validate" id="vdcode" style="width:50px;font-weight:normal;" class="dlinput" />&nbsp;<img id="ckstr" name="ckstr" src="include/ckstr.php" title="Can't see? Click on the change" align="absmiddle" style="cursor:pointer" onClick="this.src=this.src+'?'" /></td>
        </tr>
        <tr height="60px;">
          <td colspan="6" align="right"><input class="dlbutton" name="" type="submit" value="" /></td>
        </tr>
      </table>
      </form>
    </div>
  </div>
</div>
</body>
</html>
